import React, { useState, useEffect }from 'react';
import ReactDOM from 'react-dom';
import { <%= plotName %>  } from '@ant-design/charts';
<% if (utilName) { %>
import { <%= utilName %> } from '@antv/util';
<% } %>
<% if (dataSet) { %>
import { <%= dataSet %> } from '@antv/data-set';
<% } %>

const Demo<%= chartName %> = () => {
  <%- chartContent.toString() %>
  return <<%= chartName %> {...config} />;
};

ReactDOM.render(<Demo<%= chartName %> />, document.getElementById('container'));